package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Applicant;
import cn.wolfcode.trip.base.domain.CityPlay;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;


import java.util.List;

/**
 * Copyright: Copyright (c) 2019 Super520
 * 描述：大攻略业务接口
 *
 * @package: cn.wolfcode.trip.base.service
 * @author: Patch
 * @date: 2019/5/23 22:57
 * 总结:
 */
public interface IApplicantService {

    /**
     * 保存和更新
     * @param applicant
     */
    void saveOrUpdate(Applicant applicant);

    /**
     * 获取指定的大攻略
     * @param id
     * @return
     */
    Applicant get(Long id);

    List<Applicant> listAll(Integer state);


    List<User> selectAllBycityPlayId(Long cityPlayId);
}
